const a = [1, 2, 3, 5];
console.log(a.slice(0, 2));
